package com.ly.common.running.model;

import com.ly.common.business.util.BusiUtil;
import lombok.Data;

import java.util.List;

@Data
public class SysHead {
    String seqNo;
    String subSeqNo;
    String serviceNo;
    String tranDate;
    String retStatus;
    List<Result> resultList;

    public String getServiceNo(){
        if(BusiUtil.isNull(this.serviceNo)){
            return seqNo+subSeqNo;
        }else {
            return this.serviceNo;
        }
    }
}
